﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using YamlDotNet.Serialization;
using YamlDotNet.Serialization.NamingConventions;

public class MeshColliderDoc : DocPrimitive
{
	[YamlMember(Alias = "MeshCollider", ApplyNamingConventions = false)]
	public MeshColliderObj mco { get; set; }
}

public class MeshColliderObj
{
    [YamlMember(Alias = "m_ObjectHideFlags", ApplyNamingConventions = false)]
    public int objectHideFlags { get; set; }

    [YamlMember(Alias = "m_PrefabParentObject", ApplyNamingConventions = false)]
    public Dictionary<string, string> prefabParent { get; set; }

    [YamlMember(Alias = "m_PrefabInternal", ApplyNamingConventions = false)]
    public Dictionary<string, int> prefabInternal { get; set; }

    [YamlMember(Alias = "m_GameObject", ApplyNamingConventions = false)]
    public Dictionary<string, uint> gameObject { get; set; }

    [YamlMember(Alias = "m_Material", ApplyNamingConventions = false)]
    public Dictionary<string, int> material { get; set; }

    [YamlMember(Alias = "m_IsTrigger", ApplyNamingConventions = false)]
    public int isTrigger { get; set; }

    [YamlMember(Alias = "m_Enabled", ApplyNamingConventions = false)]
    public int enabled { get; set; }

    [YamlMember(Alias = "serializedVersion", ApplyNamingConventions = false)]
    public int serializedVersion { get; set; }

    [YamlMember(Alias = "m_Convex", ApplyNamingConventions = false)]
    public int convex { get; set; }

    [YamlMember(Alias = "m_InflateMesh", ApplyNamingConventions = false)]
    public int inflatMesh { get; set; }

    [YamlMember(Alias = "m_SkinWidth", ApplyNamingConventions = false)]
    public float skinWidth { get; set; }

    [YamlMember(Alias = "m_Mesh", ApplyNamingConventions = false)]
    public Dictionary<string, string> mesh { get; set; }

}
